<%= render 'public/flash_notice' %>

<div class="page-header">
  <h2><%= @product.title %></h2>
  <blockquote class= "pull-right">
    <small>
      <%= format_datetime(@product.created_at, '%Y-%m-%d %H:%M')%>
    </small>
  </blockquote>
  <p>
    <%= image_tag @product.logo_img %>
  </p>
  <p class="lead">
    <%= raw @product.description %>
  </p>
  <div class="good-photos">
    <ul>
      <% @product.photos.each do |photo| %>
        <li>
           <%= image_tag photo.path.url %>
        </li>
      <% end %>
    </ul>
  </div>
</div>
<br>
<%= link_to '返回列表', cpanel_products_path %>
